package com.haojiang.mh.ui.activity

import com.haojiang.mh.R
import com.haojiang.mh.ui.base.BaseActivity
import com.haojiang.mh.widget.popup.BedStatusPopup
import kotlinx.android.synthetic.main.activity_common_title.*
import kotlinx.android.synthetic.main.activity_test.*

class TestActivity : BaseActivity() {
    override fun getLayoutId() = R.layout.activity_test

    override fun getTitleName() = "测试"

    override fun initActivity() {
    }

    override fun initView() {

        tv_next.setOnClickListener {
            val popup = BedStatusPopup(context)
            popup.setBackgroundColor(0x1C000000)
            popup.showPopupWindow(layout_title)
        }
    }
}